.alert-container{
    position: fixed;
    top: 60px;
    z-index: 9999;
    width: 30%;
    right: 30px;
}

.alert {
    padding: 20px;
    color: white;
    opacity: 1;
    transition: opacity 0.6s;
    margin-bottom: 15px;
}

.alert.danger {background-color: #f44336;}
.alert.success {background-color: #4CAF50;}
.alert.info {background-color: #2196F3;}
.alert.warning {background-color: #ff9800;}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

/* Bordered form */
form {
    border: 3px solid #f1f1f1;
}

/* Full-width inputs */
.login input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Add a hover effect for buttons */
button:hover {
    opacity: 0.8;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the avatar image inside this container */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

/* Avatar image */
img.avatar {
    width: 40%;
    border-radius: 50%;
}

/* Add padding to containers */
.container {
    padding: 16px;
}

/* The "Forgot password" text */
span.psw {
    float: right;
    padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}

/* The Modal (background) */
.modal {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5px auto; /* 15% from the top and centered */
    border: 1px solid #888;
    max-width: 400px;
}

/* The Close Button */
.close {
    /* Position it in the top right corner outside of the modal */
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

/* Close button on hover */
.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)}
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.column-content-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    width: 80%;
}
.open-button:before{
    content: "展开";
}
.open-button.active:before{
    content: "收起";
}
.column-list{
    display: flex;
    align-items:center;
    justify-content: space-between;
    background-color: #eeeeee;
    border-radius: 20px;
    width: 96%;
    margin: 10px 0;
    padding: 0 2%;
}
.column-container{
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 0 3px 1px #00000054;
    padding: 30px;
}
.column-container:focus,
.column-container:hover,
.column-container:active,
.column-container.active{
    box-shadow: 0 0 3px 1px rgba(255, 89, 0, 0.76);
}
.column-button{
    padding: 5px;
    margin: 20px;
    width: 100px;
}

.warning {
    color: #ff5e00;
    text-shadow: 1px 1px 1px #9f3e00;
}
.danger {
    color: #ff6464;
    text-shadow: 1px 1px 1px rgba(82, 32, 32, 0.84);
}

.column-button-group{
    display: flex;
    justify-content:space-between;
}
.img-box{
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.64);
    border-radius: 2px;
}
.img-box:hover,
.img-box:focus{
    cursor: pointer;
}
.column-title{
    display: flex
}
.column-title h2{
    display: inline-block;
    margin: 5px 20px;
}
label {
    margin: 5px 0;
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
}
label:hover {
    box-shadow: 0 0 2px rgba(255, 90, 12, 0.63);
}
label span {
    display: inline-block;
    width: 80px;
}
label:hover span {
    color: #ff6a1b;
}
label input[type="text"], label textarea{
    display: inline-block;
    width: 40%;
}
.logo-cover {
    display: block;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 35px !important;
    height: 35px !important;
    border-radius: 5px 0 0 0 !important;
}
.subject-logo-container{
    position: relative;
    display: inline-block;
}
.toggle-title{
    cursor: pointer;
    margin: 5px;
    background: rgb(216, 255, 243);
    border-radius: 5px;
    padding: 10px;
    box-shadow: 1px 1px 3px rgba(31,31,31,0.64);
}
.toggle-title:hover{
    color: #ff6a1b;
}
.toggle-title:before{
    content: '+';
    padding-right: 10px;
}
.toggle-title.active{
    color: #ff6a1b;
}
.toggle-title.active:before{
    content: '-';
}
